GtkGLArea: Always destroy context on unrealize
authorAlexander Larsson <alexl@redhat.com>
Thu, 30 Oct 2014 11:08:31 +0000 (12:08 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 30 Oct 2014 11:43:03 +0000 (12:43 +0100)
commitad30262fef6b1977b08b4f84749183c6fbbe7fa8
tree8bcb8455d9f3fe0d65b77cb489b1220a16726b64
parent5f14630b76f31c9f6c146100cb3a843ffa28db6d
GtkGLArea: Always destroy context on unrealize

We had some code that tried to reuse the context over realize, but
that doesn't work as we need to share with the possibly new
paint context of the re-realized window.
gtk/gtkglarea.c